package com.TheyChat.service.interfaces.entity;

import com.TheyChat.service.config.core.enums.UserTypeEnum;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@ApiModel("用户信息")
@EqualsAndHashCode(callSuper = true)
public class User extends BaseEntity{
    /**
     * 用户登录账号（唯一）
     */
    private String username;
    /**
     * 用户密码
     */
    private String password;
    /**
     * 用户真实姓名
     */
    private String realName;

    private String nickname;

    private String orgId;
    /**
     * 用户手机
     */
    private String phoneNumber;

    private String email;

//    private int isAdmin;

    private UserTypeEnum userType;

    private String lastLogin;

    private String userJob;

    private String userJobId;
}
